<!DOCTYPE html>
<html>
  <head>
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
    <title>我的盘</title>
    <link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap-treeview.css">
    <link rel="stylesheet" type="text/css" href="fontawesome/css/font-awesome.min.css">
    <link rel='stylesheet' href='/stylesheets/style.css' />
  </head>
  <body ng-app="app">
  <nav ng-controller="navbarController" class="navbar navbar-inverse">
    <div class="container-fluid">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <a class="navbar-brand" href="#">我的盘</a>
        <a class="navbar-brand" ng-class="{'active': $route.current.activeSideTab == 'offline'}" href="#/offline">离线</a>
        <a class="navbar-brand" ng-class="{'active': $route.current.activeSideTab == 'transcode'}" href="#/transcode">转码</a>
        <a class="navbar-brand" ng-class="{'active': $route.current.activeSideTab == 'live'}" href="#/live">直播</a>
      </div>
      <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
        <ul class="nav navbar-nav navbar-right">
          <li ><a href="/users/logout">退出 <i class="fa fa-sign-out"></i> </a></li>
        </ul>
      </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
  </nav>
  <div ng-view>

  </div>
  <script type="text/ng-template" id="template-file.html">
      <%-include subPage/files.ejs%>
  </script>
  <script type="text/ng-template" id="template-offline.html">
      <%-include subPage/offline.ejs%>
  </script>
  <script type="text/ng-template" id="template-transcode.html">
      <%-include subPage/transcode.ejs%>
  </script>
  <script type="text/ng-template" id="template-live.html">
    <%-include subPage/live.ejs%>
  </script>
  <script type="text/ng-template" id="template-create-offline-bt.html">
      <%-include subPage/createOffline.ejs%>
  </script>
  <script type="text/ng-template" id="template-create-offline-magnet.html">
      <%-include subPage/createOfflineM.ejs%>
  </script>
  <%-include partial/utils.ejs%>
  <script type="text/javascript" src="javascripts/jquery/jquery.min.js"></script>
  <script type="text/javascript" src="bootstrap/js/bootstrap.min.js"></script>
  <script type="text/javascript" src="bootstrap/js/bootstrap-treeview.js"></script>
  <script type="text/javascript" src="bootstrap/js/bootstrap-datetimepicker.min.js"></script>
  <script type="text/javascript" src="bootstrap/js/bootstrap-datetimepicker.zh-CN.js"></script>
  <script type="text/javascript" src="bootstrap/js/bootstrap-table.min.js"></script>
  <script type="text/javascript" src="bootstrap/js/bootstrap-table-zh-CN.min.js"></script>
  <script type="text/javascript" src="angular/angular.min.js"></script>
  <script type="text/javascript" src="angular/angular-route.min.js"></script>
  <script type="text/javascript" src="angular/angular-route.min.js"></script>

  <script src="javascripts/util.js"></script>
  <script src="javascripts/index.js"></script>
  </body>
</html>
